<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{THEME_STYLE_PATH}style/css/default_new.css" type="text/css" rel="stylesheet" />
<script src="{THEME_STYLE_PATH}style/js/jquery.js"></script>
<script src="{THEME_STYLE_PATH}style/js/core.js"></script>
<link href="{THEME_STYLE_PATH}style/css/login.css" type="text/css" rel="stylesheet" />
<!--<script type="text/javascript" src="{THEME_STYLE_PATH}style/js/login.js"></script>  -->
<!--[if IE 6]>
<script src="/js/DD_belatedPNG.js"></script>
<script>
  DD_belatedPNG.fix('*');
</script>
<![endif]-->
<!--[if IE 6]>
<style type="text/css">
    html{overflow:hidden;}
    body{height:100%;overflow:auto;}
</style>
<![endif]-->
<style type="text/css">
.tip{left: 0;top: 0;width: 180px;position: absolute;color: #b3b3b3;outline: none;border: none;background: none;font-size: 12px;font-family: "微软雅黑";}
</style>
<script type="text/javascript">
$(document).ready(function(){
	$('.tip').click(function(){
		$('.tip').hide();$('#tbUserAccount').focus();
    });
	$('#tbUserAccount').keydown(function(){
    	$('.tip').hide();
    });
	$('#tbUserAccount').focus(function(){
 
    }).blur(function(){
    	var userAccount = $.trim($(this).val());
    	var regMail = /^\w+([-\.]\w+)*@\w+([\.-]\w+)*\.\w{2,4}$/;
    	var regInt = /^-?[1-9]+[0-9]*$/;
    	if (!regMail.exec(userAccount) && !regInt.exec(userAccount)){
    		//$(this).val('');$('.tip').show();
    	}	
    });
});
</script>
</head>

<body>
	{include template('header','common')}
	
	<div id="Mainbox">
		<!--登录-->
		<script type="text/javascript" src="{THEME_STYLE_PATH}style/js/register.js"></script>
		<div class="Loginsever" >
		<form action="{U('login')}" method="post" id="login" name="login">
		<input type="hidden" name="refresh" value="{$refresh}" />
			<div class="Leftbox">
				<h1>用户登录</h1>
				<div class="Loginipt">
					<div class="Lipt_name">用户名：</div>
					<div class="Lipt_ipt" style="position: relative;"><input name="username" id="tbUserAccount" class="lipt1_on" type="text" /><span class="tip">请输入邮箱或ID</span></div>	
					<div class="clear"></div>
					<span class="loginwrg" style="display:none;">用户名或密码错误，请重新输入</span>
				</div>
				<div class="Loginipt">
					<div class="Lipt_name">密　码：</div>
					<div class="Lipt_ipt"><input name="password" id="tbUserPwd" class="lipt1_on" type="password" /></div>
					<div class="clear"></div>
					<a href="{U('Member/Index/forget')}" class="forgot">忘记密码?</a>
				</div>
				
				<?php if ($setting['enablcodecheck']): ?>
				<div class="Loginipt2">
					<div class="Lipt_name2">验&nbsp;证&nbsp;码：</div>
					<div class="Lipt_ipt2"><input size="4" maxlength="4" id="jxy_codeIpt" name="verify" class="lipt1_on2" type="text" /><span><img src="{U('Api/Verify/create')}" id="vCode_pic" style="cursor:pointer;vertical-align: -10px;" title="点击刷新" /><a href="javascript:void(0);" class="yzmcg">看不清，换一张</a></span><span class="regtrue" id="verify_done" style="display:none;"></span><span class="regwrong" id="verify_wrong" style="display:none;"></span></div>
					<div class="clear"></div>
				</div>
				<?php endif; ?>
				
				<div class="onlogin"><input name="" value="" style="vertical-align:-2px; margin-right:4px;" type="checkbox" />下次自动登录</div>
				<div class="loginenter"><a href="javascript:;" class="loginbtn" id="jxy_login"  onclick="document.getElementById('login').submit();">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="{U('Member/Index/register')}" class="sreglink">立即注册!</a></div>
			</div>
		</form>
	
<div class="Rightbox" style="width:377px; padding-left:30px;">
	<p class="djdzd">大家都在兑</p>
	<ul class="idx_dzw" id="jxy_ul_reward" style="height:264px;overflow:hidden;"><!--5秒换一组，显示-->
			<li>
				<p><img src="{THEME_STYLE_PATH}style/images/10.jpg" class="dzw_head" width="50" /></p>
				<p class="a1"><span class="g46">skythos</span></p>
				<p class="a2">提现了：<span class="ofe">9元</span><br /><span class="da3"> 2分钟之前</span></p>
			</li>
	</ul>
</div>
<script src="{THEME_STYLE_PATH}style/js/VerticalScroll.js"></script>
<script type="text/javascript">
var scrollup_reward = new VerticalScroll("jxy_ul_reward");
    scrollup_reward.LineHeight = 0;
    scrollup_reward.Amount = 1;
    scrollup_reward.Delay = 50;
    scrollup_reward.Timeout = 1000;
    scrollup_reward.AutoScroll();
</script>
<script language="javascript">
document.onkeydown = function(e){    
    var ev = document.all ? window.event : e;  
    if(ev.keyCode==13) {
    	document.login.submit();
    // 如（ev.ctrlKey && ev.keyCode==13）为ctrl+Center 触发  
        //要处理的事件  
    }  
  }  
</script>


			<div class="clear"></div>
		</div>
		<!--登录-->
	</div>
	<!--主体-->
{include template('footer','common')}
</body>
</html>